<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0030)http://www.miui.com/index.html -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta property="qc:admins" content="1403742620626643623270454" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">        
<title>MIUI官方论坛 - MIUI论坛</title>
<meta name="keywords" content="MIUI,xiaomi,小米,MIUI刷机,MIUI8,小米手机,小米手机5,红米手机小米刷机,安卓论坛,小米论坛">
<meta name="generator" content="Discuz! X3">
<meta name="author" content="Discuz! Team and Comsenz UI Team">
<meta name="copyright" content="2001-2013 Comsenz Inc.">
<meta name="MSSmartTagsPreventParsing" content="True">
<meta http-equiv="MSThemeCompatible" content="Yes">
<!--<base href="http://www.miui.com/">-->
<base href=".">
<link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/style_6_common.css">
<link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/style_6_forum_newindex.css">
<script type="text/javascript" async="" src="/miui/Public/Home/js/ga.js"></script>
<script src="/miui/Public/Home/js/hm.js"></script>
<script type="text/javascript" async="" charset="utf-8" src="/miui/Public/Home/js/core.php"></script>
<script type="text/javascript">
    var STYLEID = '6', STATICURL = 'static/', IMGDIR = 'http://static.bbs.miui.com/static/image/miui/base', VERHASH = 'qck', charset = 'utf-8', discuz_uid = '0', cookiepre = 'MIUI_2132_', cookiedomain = '', cookiepath = '/', showusercard = '1', attackevasive = '0', disallowfloat = 'login|newthread', creditnotice = '1|经验|米,2|威望|米,3|贡献|米,4|小米粒|米', defaultstyle = '', REPORTURL = 'aHR0cDovL3d3dy5taXVpLmNvbS9pbmRleC5odG1s', SITEURL = 'http://www.miui.com/', JSPATH = 'http://static.bbs.miui.com/static/js/', DYNAMICURL = '';
</script>
<!-- <script src="/miui/Public/Home/js/common.js" type="text/javascript"></script> -->
<meta name="application-name" content="MIUI论坛">
<meta name="msapplication-tooltip" content="MIUI论坛">
<meta name="msapplication-task" content="name=门户;action-uri=http://www.miui.com/portal.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/portal.ico">
<meta name="msapplication-task" content="name=新帖;action-uri=http://www.miui.com/forum.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/bbs.ico">
<meta name="msapplication-task" content="name=俱乐部;action-uri=http://www.miui.com/group.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/group.ico">
<meta name="msapplication-task" content="name=个人中心;action-uri=http://www.miui.com/home.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/home.ico">
<link rel="archives" title="MIUI论坛" href="http://www.miui.com/archiver/">
<script src="/miui/Public/Home/js/forum.js" type="text/javascript">//var src = /miui/Public/Home/image/nv.png;</script>
</head>

<body id="nv_forum" class="pg_newindex" onkeydown="if(event.keyCode==27) return false;">
    <div id="append_parent"></div><div id="ajaxwaitid"></div>
    <div id="hd">         
        <div class="wp" id="hd_wp">
            <div class="hdc cl">
                <h2><a href="http://www.miui.com/index.html" title="MIUI论坛"><img src="/miui/Public/Home/image/logo.png" alt="MIUI论坛" border="0"></a></h2>
                <div id="um">
                    <div class="p">
                        <?php if(empty($_SESSION['username'])): ?><div class="hd_di1">
                                <a href="<?php echo U('User/login');?>">登录</a>
                                <span class="pipe">|</span>
                                <a href="<?php echo U('User/regist');?>">注册</a>
                            </div>
                        <?php else: ?>
                            <div class="hd_di1">
                                <b>欢迎 <?php echo ($_SESSION['username']); ?> !</b>
                                <span class="pipe">|</span>
                                <a href="<?php echo U('User/logout');?>">退出登录</a>
                                <span class="pipe">|</span>
                                <a href="<?php echo U('Space/index',array('uid'=>$_SESSION['uid']));?>">个人中心</a>
                            </div><?php endif; ?>    
                        <div class="hd_di1" style="margin-right:2px;">
                        </div>
                        <div class="hd_di1" style="line-height:28px;">
                            <a href="javascript:;" id="switchwidth" onclick="widthauto(this)" title="切换到宽版" class="switchwidth">切换到宽版</a>
                        </div>
                    </div>
                    <div style="clear:both"></div>
                    <div id="searchbar">
                        <form id="scbar_form" method="post" autocomplete="off" onsubmit="searchFocus($(&#39;scbar_txt&#39;))" action="http://www.miui.com/search.php?searchsubmit=yes" target="_blank">
                            <input type="hidden" name="mod" id="scbar_mod" value="search">
                            <input type="hidden" name="formhash" value="69fa01e2">
                            <input type="hidden" name="srchtype" value="title">
                            <input type="hidden" name="srhfid" value="0">
                            <input type="hidden" name="srhlocality" value="forum::newindex">
                            <input type="text" name="srchtxt" id="scbar_txt" value="搜索" autocomplete="off" placeholder="搜索">
                            <input type="submit" name="searchsubmit" id="scbar_submit" value="1">
                        <script type="text/javascript">
                        MIUI_initSearchmenu('scbar', '');
                        </script>
                        </form>
                    </div>
                </div>
            </div>

             <div id="nv">
                <ul><li class="a" id="mn_Neacf"><a href="<?php echo U('Index/index');?>" hidefocus="true">首页</a></li><li id="mn_forum"><a href="<?php echo U('Index/bbsIndex');?>" hidefocus="true">新帖</a></li><li id="mn_N30f4"><a href="<?php echo U('BBStype/bbsType');?>" hidefocus="true">全部版块</a></li><?php if(is_array($dataType)): $i = 0; $__LIST__ = $dataType;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li id="mn_N8e4f"><a href="<?php echo U('Home/BBStype/bbsView',array('tid'=>$v[tid]));?>" hidefocus="true" title="MIUI"><?php echo ($v["tname"]); ?><span><?php echo ($v["tname"]); ?></span></a></li><?php endforeach; endif; else: echo "" ;endif; ?><li id="mn_Nf9f9"><a href="<?php echo U('Space/index',array('uid'=>$_SESSION['uid']));?>" hidefocus="true" title="Friday">个人中心<span>Friday</span></a></li><li id="mn_N077a"><a href="<?php echo U('Index/HealthNews');?>" hidefocus="true" target="_blank">生活资讯</a></li></ul>
            </div>
            <div class="p_pop h_pop" id="mn_userapp_menu" style="display: none"></div><div id="mu" class="cl">
            </div><!-- common/pubsearchfor___debug___m --></div>
            <div id="nv_fixed"></div>
        </div>
        <script src="/miui/Public/Home/js/header_extend.js" type="text/javascript"></script>
        
        <div id="wp" class="wp">
            <link rel="stylesheet" href="/miui/Public/Home/css/reset.css">
            <link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/right.css">
            <link rel="stylesheet" href="/miui/Public/Home/css/index.css">
            <script src="/miui/Public/Home/js/jquery.1.7.1.min.js" type="text/javascript"></script>
            <script src="/miui/Public/Home/js/jqeury.qrcode.min.js" type="text/javascript"></script>
            <script src="/miui/Public/Home/js/index.js" type="text/javascript"></script>
            <script type="text/javascript" src="/miui/Public/Home/js/jquery-1.8.3.min.js"></script>
    
	<style>
		.XinWen{
			position: relative;
			border: 1px solid #dddddd;
			height:200px;
			width:300px;
		}
		.XWmessage{
			display: none;
			left:300px;
			top:0px;
			position: absolute;
			border: 6px solid #D9EDF7;
			height:auto;
			width:800px;
		}
	</style>
	<?php if(is_array($HN)): $k = 0; $__LIST__ = $HN;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($k % 2 );++$k;?><div class="XinWen">
			<p>【<?php echo ($vo["title"]); ?>】</p>
			<p style="height:5px;"></p>
			<p><span style="color:red;">新闻关键字:<?php echo ($vo["keywords"]); ?></span></p>
			<p style="height:5px;"></p>
			<p style="color:#438EB9;"><?php echo ($vo["description"]); ?></p>
			<p style="height:5px;"></p>
			<button style="border:1px solid #87B87F;">查看全文</button>
			<div class="XWmessage">
				<?php echo ($vo["message"]); ?>
				<img src="http://tnfs.tngou.net/img<?php echo ($vo["img"]); ?>">
			</div>
		</div>
		





		<!-- <?php echo ($vo["message"]); ?> -->
		<!-- <?php echo ($vo["description"]); ?> -->
		<!-- <?php echo ($vo["img"]); ?> -->
		<!-- <?php echo ($vo["title"]); ?> -->
		<!-- <?php echo ($vo["time"]); ?> -->
		<!-- <?php echo ($vo["keywords"]); ?> --><?php endforeach; endif; else: echo "" ;endif; ?>
	<script>
		$(function(){
			$('.XinWen button').click(function(){
				$('.XWmessage').hide();
				$(this).next().show();
			})
		})
	</script>

    

        <script type="text/javascript">
            _attachEvent($('weixin_title'), 'click', function (event) {
                var t = $('weixin_logo');
                var te = $('weixin_title');
                event.stopPropagation();
                if(t.style.display != 'block'){
                    t.style.display = 'block';
                    te.style.fontWeight = 'bold';
                    te.style.color = '#4c4c4c';
                }else{
                    t.style.display = 'none';
                    te.style.fontWeight = 'normal';
                    te.style.color = '#909090';
                }
            });

            jQuery(function() {
                var SignAjax = Ajax("JSON");

                
                jQuery(document).on("click", "#lottery_step_0", function() {
                    SignAjax.get('extra.php?mod=sign/index&op=signlottery', SignAjaxCallback.signlottery);
                });
                jQuery(document).on("click", "#lottery_step_1", function() {
                    jQuery("#sign_show_area").html("");
                });
                jQuery(document).on("click", "#lottery_step_2", function() {
                    showWindow('__signconfirmarea__', 'extra.php?mod=sign/index&op=confirmlottery', 'get', 0);
                    setTimeout(function() {jQuery("#sign_show_area").html("");}, 1000);
                });
                var SignAjaxCallback = {
                    sign : function(res) {
                        if (res.error == 0) {
                            showWindow('__signarea__', '/extra.php?mod=sign/index&op=error&msg=' + res.message, 'get', 0);
                            return;
                        }
                        jQuery("#sign_show_area").html(res.template);
                        if (!res.lottery) {
                            setTimeout(function() {jQuery("#sign_show_area").html("");}, 3000);
                        } else {
                            jQuery("#sign_show_area").css("top", res.lotterytype ? "-182px" : "-242px");
                            jQuery("#ct").children("div.sd").css("overflow", "visible");
                        }
                        jQuery(".pf_num>span").html(parseInt(jQuery(".pf_num>span").html()) + 1);
                        
                        
                        
                        jQuery(".link_no_cursor").css("cursor", "default");
                        jQuery(".pf_sign_rank").attr("href", "extra.php?mod=sign/rank");
                    },

                    signlottery : function(res) {
                        if (res.error == 0) {
                            showWindow('__signarea__', '/extra.php?mod=sign/index&op=error&msg=' + res.message, 'get', 0);
                            return;
                        }
                        jQuery("#sign_show_area").html(res.template);
                        if (jQuery("#lottery_step_1").get(0)) {
                            jQuery(".pf_sign_link").remove();
                            setTimeout(function() {jQuery("#sign_show_area").html("");}, 3000);
                        }
                    },

                    checklottery : function(res) {
                        if (res.error == 0) {
                            showWindow('__signarea__', '/extra.php?mod=sign/index&op=error&msg=' + res.message, 'get', 0);
                            return;
                        }
                        jQuery("#sign_show_area").html(res.template);
                        jQuery("#sign_show_area").css("top", res.lotterytype ? "-182px" : "-242px");
                        jQuery("#ct").children("div.sd").css("overflow", "visible");
                        jQuery(".pf_sign_link").off("click");
                    }
                }
            })
    _attachEvent(window, 'scroll', function () {
    var right_fixed = $('float_right');
    var left_content = $('left_content');
    var viewPortHeight = parseInt(document.documentElement.clientHeight);
    var scrollHeight = parseInt(document.body.getBoundingClientRect().top);
    var sw = right_fixed.clientWidth;
    var sh = right_fixed.clientHeight;
    var basew = parseInt(left_content.clientWidth);

    var divs = right_fixed.getElementsByTagName('div');
    if(scrollHeight < -600 - sh){
    right_fixed.style.position = 'fixed';
    right_fixed.style.top = '58px';
    var left = parseInt(fetchOffset(left_content)['left']);
    right_fixed.style.left = ( basew + left + 13) + 'px';
    for(i=0;i<divs.length;i++){
    if(divs[i].className == 'hot_activity' || divs[i].className == 'hot_posts' || divs[i].className == 'focus_us'){
    divs[i].style.display = 'none';
    }
    }
    }else{
    right_fixed.style.position = '';
    for(i=0;i<divs.length;i++){
    if(divs[i].className == 'hot_activity' || divs[i].className == 'hot_posts' || divs[i].className == 'focus_us'){
    divs[i].style.display = 'block';
    }
    }
    }
    });
        </script>
        <script>fixed_top_nv();</script>    </div>


</body></html>